package cn.tony.game.super_tank;

import java.awt.Image;

public class ImageDirectional {
    private Image up;
    private Image down;
    private Image left;
    private Image right;
    private Image upLeft;
    private Image upRight;
    private Image downLeft;
    private Image downRihgt;

    public ImageDirectional() {
    }

    public ImageDirectional(Image[] imgs) {
        left = imgs[0];
        upLeft = imgs[1];
        up = imgs[2];
        upRight = imgs[3];
        right = imgs[4];
        downRihgt = imgs[5];
        down = imgs[6];
        downLeft = imgs[7];
    }

    public Image getUp() {
        return up;
    }

    public void setUp(Image up) {
        this.up = up;
    }

    public Image getDown() {
        return down;
    }

    public void setDown(Image down) {
        this.down = down;
    }

    public Image getLeft() {
        return left;
    }

    public void setLeft(Image left) {
        this.left = left;
    }

    public Image getRight() {
        return right;
    }

    public void setRight(Image right) {
        this.right = right;
    }

    public Image getUpLeft() {
        return upLeft;
    }

    public void setUpLeft(Image upLeft) {
        this.upLeft = upLeft;
    }

    public Image getUpRight() {
        return upRight;
    }

    public void setUpRight(Image upRight) {
        this.upRight = upRight;
    }

    public Image getDownLeft() {
        return downLeft;
    }

    public void setDownLeft(Image downLeft) {
        this.downLeft = downLeft;
    }

    public Image getDownRihgt() {
        return downRihgt;
    }

    public void setDownRihgt(Image downRihgt) {
        this.downRihgt = downRihgt;
    }

}
